package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.system.domain.ProCreateBuilding;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 催款申请单对象 dunning_from
 * 
 * @author ruoyi
 * @date 2020-07-09
 */
public class DunningFrom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 催款申请单id */
    private Long dId;

    /** 劳务金额	 */
    @Excel(name = "劳务金额	")
    private BigDecimal dCost;

    /** 供应商名称/应付单位名称 */
   // @Excel(name = "供应商名称/应付单位名称")
    private String dSupplierName;

    /** 申请人 */
   // @Excel(name = "申请人")
    private String dProposer;

    /** 申请内容 */
   // @Excel(name = "申请内容")
    private String dApplicationContent;

    /** 申请时间 */
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dCreateTime;

    /** 总项目关联 */
   // @Excel(name = "总项目关联")
    private Long pId;

    /** 照片 */
    //@Excel(name = "照片")
    private String dFile;

    /** 劳务合同 */
    @Excel(name = "劳务合同")
    private String aLabor;

    /** 申请状态 */
    //@Excel(name = "申请状态")
    private Long aStatus;

    /** 审批意见 */
    //@Excel(name = "审批意见")
    private String aOpinion;

    /** 已付金额 */
    @Excel(name = "已付金额")
    private BigDecimal aAmountPaid;

    /** 未付金额 */
    @Excel(name = "未付金额")
    private BigDecimal aUnpaidAmount;

    /** 支付状态 */
    //@Excel(name = "支付状态")
    private Integer aPaymentStatus;

    public ProCreateBuilding getProCreateBuilding() {
        return proCreateBuilding;
    }

    public void setProCreateBuilding(ProCreateBuilding proCreateBuilding) {
        this.proCreateBuilding = proCreateBuilding;
    }
    @Excels({
            @Excel(name = "项目名称", targetAttr = "pName", type = Excel.Type.EXPORT),
            @Excel(name = "创建时间", targetAttr = "pTime", type = Excel.Type.EXPORT)
    })
    private ProCreateBuilding proCreateBuilding;
    @Excels({
            @Excel(name = "甲方名称", targetAttr = "pContractParty", type = Excel.Type.EXPORT),
            @Excel(name = "合同名称", targetAttr = "pFileName", type = Excel.Type.EXPORT),
            @Excel(name = "合同金额", targetAttr = "pMoney", type = Excel.Type.EXPORT),
            @Excel(name = "备注", targetAttr = "pRemark", type = Excel.Type.EXPORT)
    })
    private ProConSupAgr proConSupAgr;

    public ProConSupAgr getProConSupAgr() {
        return proConSupAgr;
    }

    public void setProConSupAgr(ProConSupAgr proConSupAgr) {
        this.proConSupAgr = proConSupAgr;
    }

    public void setdId(Long dId)
    {
        this.dId = dId;
    }

    public Long getdId() 
    {
        return dId;
    }
    public void setdCost(BigDecimal dCost)
    {
        this.dCost = dCost;
    }

    public BigDecimal getdCost()
    {
        return dCost;
    }
    public void setdSupplierName(String dSupplierName) 
    {
        this.dSupplierName = dSupplierName;
    }

    public String getdSupplierName() 
    {
        return dSupplierName;
    }
    public void setdProposer(String dProposer) 
    {
        this.dProposer = dProposer;
    }

    public String getdProposer() 
    {
        return dProposer;
    }
    public void setdApplicationContent(String dApplicationContent) 
    {
        this.dApplicationContent = dApplicationContent;
    }

    public String getdApplicationContent() 
    {
        return dApplicationContent;
    }
    public void setdCreateTime(Date dCreateTime) 
    {
        this.dCreateTime = dCreateTime;
    }

    public Date getdCreateTime() 
    {
        return dCreateTime;
    }
    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public Long getpId() 
    {
        return pId;
    }
    public void setdFile(String dFile) 
    {
        this.dFile = dFile;
    }

    public String getdFile() 
    {
        return dFile;
    }
    public void setaLabor(String aLabor) 
    {
        this.aLabor = aLabor;
    }

    public String getaLabor() 
    {
        return aLabor;
    }
    public void setaStatus(Long aStatus) 
    {
        this.aStatus = aStatus;
    }

    public Long getaStatus() 
    {
        return aStatus;
    }
    public void setaOpinion(String aOpinion) 
    {
        this.aOpinion = aOpinion;
    }

    public String getaOpinion() 
    {
        return aOpinion;
    }
    public void setaAmountPaid(BigDecimal aAmountPaid)
    {
        this.aAmountPaid = aAmountPaid;
    }

    public BigDecimal getaAmountPaid()
    {
        return aAmountPaid;
    }
    public void setaUnpaidAmount(BigDecimal aUnpaidAmount)
    {
        this.aUnpaidAmount = aUnpaidAmount;
    }

    public BigDecimal getaUnpaidAmount()
    {
        return aUnpaidAmount;
    }
    public void setaPaymentStatus(Integer aPaymentStatus)
    {
        this.aPaymentStatus = aPaymentStatus;
    }

    public Integer getaPaymentStatus()
    {
        return aPaymentStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dId", getdId())
            .append("dCost", getdCost())
            .append("dSupplierName", getdSupplierName())
            .append("dProposer", getdProposer())
            .append("dApplicationContent", getdApplicationContent())
            .append("dCreateTime", getdCreateTime())
            .append("pId", getpId())
            .append("dFile", getdFile())
            .append("aLabor", getaLabor())
            .append("aStatus", getaStatus())
            .append("aOpinion", getaOpinion())
            .append("aAmountPaid", getaAmountPaid())
            .append("aUnpaidAmount", getaUnpaidAmount())
            .append("aPaymentStatus", getaPaymentStatus())
                .append("proCreateBuilding",getProCreateBuilding())
                .append("proConSupAgr",getProConSupAgr())
            .toString();
    }
}
